package cn.tedu;
//for循环的演示
public class ForDemo {
	public static void main(String[] args) {
		//      要素1                要素2               要素 3
		for (int times = 0; times < 10; times++) {
			System.out.println("行动是成功的阶梯");
		}
		System.out.println("over");
		
		
		/*int times=0;          //1
		while (times<10) {    //2
				System.out.println("行动是成功的阶梯"); //4
				times++;      //3
		}
		System.out.println("over");*/
	}
}
